package vip.xiaonuo.modular.param;

import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import java.util.*;

/**
* 考场管理参数类
 *
 * @author 春非昔日春
 * @date 2023-02-28 13:16:01
*/
@Data
public class KaochangParam extends BaseParam {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 考场名称
     */
    @NotBlank(message = "考场名称不能为空，请检查name参数", groups = {add.class, edit.class})
    private String name;

    /**
     * 考场学校
     */
    @NotBlank(message = "考场学校不能为空，请检查position参数", groups = {add.class, edit.class})
    private String position;

    /**
     * 考场教室
     */
    @NotBlank(message = "考场教室不能为空，请检查classroom参数", groups = {add.class, edit.class})
    private String classroom;

}
